* syntax.c (update_syntax_table): Use unsigned instead of int.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Apr 2011 07:53:20 +0000 (00:53 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Apr 2011 07:53:20 +0000 (00:53 -0700)
src/ChangeLog
src/syntax.c

index f572299f4ad2e1748f1ac00645c0b4cc47d5bbc1..dbd6cc2fb8685ad00fd63e1a22f8b5b72def3f51 100644 (file)
@@ -1,6 +1,7 @@
 2011-04-04  Paul Eggert  <eggert@cs.ucla.edu>
 
        * syntax.c (scan_words): Remove var that was set but not used.
+       (update_syntax_table): Use unsigned instead of int.
 
        * lread.c (lisp_file_lexically_bound_p): Use ints rather than endptrs.
        (lisp_file_lexically_bound_p, read1): Use unsigned instead of int.
index 892cec65697cd8a412df329cc105de334f084d52..56176f3241860101beff2a860f9ef67fcee5aa36 100644 (file)
@@ -175,7 +175,8 @@ update_syntax_table (EMACS_INT charpos, int count, int init,
                     Lisp_Object object)
 {
   Lisp_Object tmp_table;
-  int cnt = 0, invalidate = 1;
+  unsigned cnt = 0;
+  int invalidate = 1;
   INTERVAL i;
 
   if (init)